export type TodoItem = {
  id: number;
  task: string;
  completed: boolean;
};

export type State = {
  loading: boolean;
  todoList: Array<TodoItem>;
  title: string;
};

export const state: State = {
  loading: false,
  todoList: [],
  title: "hello vue3"
};
